package cn.wk.demo;

class Outer{
	private int num = 3;
	
	Inner getInner(){
		return new Inner();
	}
	
	
	void oooo(){
		Inner swk = new Inner();
		swk.show();
	}
	
	class Inner{
		int num = 4;
		void show(){
			Outer o = new Outer();
			System.out.println("show run" + o.num);
		}
	}
}

public class InnerClassDemo {

	public static void main(String[] args) {
		Outer outer = new Outer();
		outer.oooo();
		
		Outer.Inner swk = new Outer().getInner();
		
		int i = 10;

	}

}
